package com.renwei.yunlong.bean;

import java.io.Serializable;
import java.util.List;

/**
 * 所属项目  实体类
 *
 * Created by Administrator on 2017/9/15.
 */

public class SelectBelongsBean implements Serializable{

    private int total;
    private Message message;//消息对象
    private List<Rows> rows;//用户信息对象

    public class Message implements Serializable{
        private int code;
        private String message;
        private String stack;

        public String getMessage() {
            return message;
        }

        public void setMessage(String message) {
            this.message = message;
        }

        public int getCode() {
            return code;
        }

        public void setCode(int code) {
            this.code = code;
        }

        public String getStack() {
            return stack;
        }

        public void setStack(String stack) {
            this.stack = stack;
        }

        @Override
        public String toString() {
            return "Message{" +
                    "code=" + code +
                    ", message='" + message + '\'' +
                    ", stack='" + stack + '\'' +
                    '}';
        }
    }


    public class Rows implements Serializable{
        private String contractId;//项目ID
        private String contractName;//项目名称
        private String contractFlag;//(1：已生效 2：已到期 3：缓存期)项目状态
        private boolean isSelect = false;

        public void setSelect(boolean select) {
            isSelect = select;
        }

        public boolean isSelect() {
            return isSelect;
        }

        public String getContractId() {
            return contractId;
        }

        public String getContractName() {
            return contractName;
        }

        public String getContractFlag() {
            return contractFlag;
        }
    }

    public int getTotal() {
        return total;
    }

    public Message getMessage() {
        return message;
    }

    public List<Rows> getRows() {
        return rows;
    }
}
